package com.zzyl.mapper;


import com.github.pagehelper.Page;
import com.zzyl.entity.Reservation;
import com.zzyl.vo.ReservationVO;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ReservationMapper {
    Integer getCountByTime(String time);

    void addReservation(Reservation bean);

    Integer getCancelledReservationCount();

    Page<ReservationVO> getList(Integer status);

    void cancleReservation(Integer id);
}
